Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODLinkSpec


WriteLinkSpec

The WriteLinkSpec method writes the data for this link specification into the specified focused storage unit.

void WriteLinkSpec (in ODStorageUnit su);
su
A reference to the storage unit where the link-specification data is to be written.
DISCUSSION
If your part is a source part that supports linking, you call this method to write a link specification to the content storage unit of the clipboard or drag-and-drop object. The storage unit should be focused on the kODPropLinkSpec property. This method writes the link specification to the value of type kODLinkSpec in the focused property, replacing any link specification that was previously stored in that value or creating the value if it doesn't already exist.

EXCEPTIONS
kODErrOutOfMemory
There is not enough memory to write the link specification.
SEE ALSO
The ODLinkSpec::ReadLinkSpec method (page 392).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help